package com.cxhc.system.domain.hcdoc;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.cxhc.common.annotation.Excel;
import com.cxhc.common.core.domain.BaseEntity;

/**
 * 小额招标信息对象 hd_small_bid
 * 
 * @author Dhq
 * @date 2024-09-26
 */
public class HdSmallBid
{

    /** 主键，自增长 */
    private Long id;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 招标日期 */
    @Excel(name = "招标日期")
    private String callBidDate;

    private String startDate;

    private String endDate;

    /** 预算价 */
    @Excel(name = "预算价")
    private String callBidAmount;

    /** 中标金额 */
    @Excel(name = "中标金额")
    private String winBidAmount;

    /** 中标单位 */
    @Excel(name = "中标单位")
    private String contactsEnt;

    /** 中标单位联系人 */
    @Excel(name = "中标单位联系人")
    private String contactsUserName;

    /** 中标单位联系方式 */
    @Excel(name = "中标单位联系方式")
    private String contactsNum;

    /** 经办人 */
    @Excel(name = "经办人")
    private String responsibleUser;

    /** 归档状态，0—未归档，1—已归档 */
    @Excel(name = "归档状态",dictType = "pigeonhole_status",readConverterExp = "0=未归档,1=已归档")
    private Integer pigeonholeStatus;

    /** 归档提醒时间 */
//    @Excel(name = "归档提醒时间")
    private Integer noticeDays;

    /**
     * 项目文档
     */
    private List<HdProjectDocInfo> hdProjectDocInfos;

    /** 文档所需字段 */
//    @Excel(name = "文档所需字段")
    private String fileList;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
//    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ctime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
//    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date utime;

    /**
     * 创建用户
     */
    private String createBy;

    /**
     * 更新人
     */
    private String updateBy;

    public String getContactsUserName() {
        return contactsUserName;
    }

    public void setContactsUserName(String contactsUserName) {
        this.contactsUserName = contactsUserName;
    }

    public List<HdProjectDocInfo> getHdProjectDocInfos() {
        return hdProjectDocInfos;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public void setHdProjectDocInfos(List<HdProjectDocInfo> hdProjectDocInfos) {
        this.hdProjectDocInfos = hdProjectDocInfos;
    }

    public Integer getPigeonholeStatus() {
        return pigeonholeStatus;
    }

    public void setPigeonholeStatus(Integer pigeonholeStatus) {
        this.pigeonholeStatus = pigeonholeStatus;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setCallBidDate(String callBidDate) 
    {
        this.callBidDate = callBidDate;
    }

    public String getCallBidDate() 
    {
        return callBidDate;
    }
    public void setCallBidAmount(String callBidAmount) 
    {
        this.callBidAmount = callBidAmount;
    }

    public String getCallBidAmount() 
    {
        return callBidAmount;
    }
    public void setWinBidAmount(String winBidAmount) 
    {
        this.winBidAmount = winBidAmount;
    }

    public String getWinBidAmount() 
    {
        return winBidAmount;
    }
    public void setContactsEnt(String contactsEnt) 
    {
        this.contactsEnt = contactsEnt;
    }

    public String getContactsEnt() 
    {
        return contactsEnt;
    }
    public void setContactsNum(String contactsNum) 
    {
        this.contactsNum = contactsNum;
    }

    public String getContactsNum() 
    {
        return contactsNum;
    }
    public void setResponsibleUser(String responsibleUser) 
    {
        this.responsibleUser = responsibleUser;
    }

    public String getResponsibleUser() 
    {
        return responsibleUser;
    }
    public void setNoticeDays(Integer noticeDays) 
    {
        this.noticeDays = noticeDays;
    }

    public Integer getNoticeDays() 
    {
        return noticeDays;
    }
    public void setFileList(String fileList) 
    {
        this.fileList = fileList;
    }

    public String getFileList() 
    {
        return fileList;
    }
    public void setCtime(Date ctime) 
    {
        this.ctime = ctime;
    }

    public Date getCtime() 
    {
        return ctime;
    }
    public void setUtime(Date utime) 
    {
        this.utime = utime;
    }

    public Date getUtime() 
    {
        return utime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectName", getProjectName())
            .append("callBidDate", getCallBidDate())
            .append("callBidAmount", getCallBidAmount())
            .append("winBidAmount", getWinBidAmount())
            .append("contactsEnt", getContactsEnt())
            .append("contactsNum", getContactsNum())
            .append("responsibleUser", getResponsibleUser())
            .append("pigeonholeStatus", getPigeonholeStatus())
            .append("noticeDays", getNoticeDays())
            .append("fileList", getFileList())
            .append("ctime", getCtime())
            .append("createBy", getCreateBy())
            .append("utime", getUtime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
